/**
 * Copyright &copy; 2012-2014 ThinkGem All rights reserved.
 */
package com.sx.admin.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 用户和密码（包含验证码）令牌类
 */
public class SecurityUsernamePasswordToken extends UsernamePasswordToken {

	private static final long serialVersionUID = 1L;

	private String captcha;


	public SecurityUsernamePasswordToken() {
		super();
	}

	public SecurityUsernamePasswordToken(String username, char[] password,
                                         boolean rememberMe, String host, String captcha) {
		super(username, password, rememberMe, host);
		this.captcha = captcha;
	}

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

}